﻿/**
 * FriendFeed Event
 * 
 * For more information: http://code.google.com/p/friendfeed-as3/
 * This script is based on the great twitter API TwitterScript (http://code.google.com/p/twitterscript/)
 * 
 * @author	Lucas Araujo <araujo.lucas [at] gmail.com> - http://FriendFeed.com/LucasAraujo
 */
package friendfeed.api.events
{
	import flash.events.Event;
	import flash.net.FileReference;
	
	/**
	 * A FriendFeed Event
	 */
	public class FriendFeedEvent extends Event
	{
		// 
		public static const ON_PUBLIC_FEED_RESULT:String = "onPublicFeedResult";
		public static const ON_USER_FEED_RESULT:String = "onUserFeedResult";
		public static const ON_USER_COMMENTS_RESULT:String = "onUserCommentsResult";
		public static const ON_USER_LIKES_RESULT:String = "onUserLikesResult";
		public static const ON_USER_DISCUSSION_RESULT:String = "onUserDiscussionResult";
		public static const ON_USER_FRIENDS_RESULT:String = "onUserFriendsResult";
		public static const ON_USER_ROOMS_RESULT:String = "onUserRoomsResult";
		public static const ON_ROOM_FEED_RESULT:String = "onRoomFeedResult";
		public static const ON_ENTRY_FEED_RESULT:String = "onEntryFeedResult";
		public static const ON_HOME_FEED_RESULT:String = "onHomeFeedResult";
		public static const ON_SEARCH_RESULT:String = "onSearchResult";
		public static const ON_LIST_FEED_RESULT:String = "onListFeedResult";
		public static const ON_URL_FEED_RESULT:String = "onUrlFeedResult";
		public static const ON_DOMAIN_FEED_RESULT:String = "onDomainFeedResult";
		public static const ON_SHARE_RESULT:String = "onShareResult";
		public static const ON_SET_COMMENT_RESULT:String = "onSetCommentResult";
		public static const ON_DELETE_COMMENT_RESULT:String = "onDeleteCommentResult";
		public static const ON_SET_LIKE_RESULT:String = "onSetLikeResult";
		public static const ON_DELETE_LIKE_RESULT:String = "onDeleteLikeResult";
		public static const ON_DELETE_ENTRY_RESULT:String = "onDeleteEntryResult";
		public static const ON_HIDE_ENTRY_RESULT:String = "onHideEntryResult";
		public static const ON_PROFILE_RESULT:String = "onProfileResult";
		public static const ON_SET_PROFILE_RESULT:String = "onSetProfileResult";
		public static const ON_ROOM_PROFILE_RESULT:String = "onRoomProfileResult";
		public static const ON_LIST_PROFILE_RESULT:String = "onListProfileResult";
		public static const ON_VALIDATE_RESULT:String = "onValidateResult";
		public static const ON_SERVICES_RESULT:String = "onServicesResult";

		// 
		public static const ON_ERROR:String = "onError";
		
		// 
		public var data:Object = new Object();
		
		/**
		 * FriendFeed Event
		 * 
		 * @param	type		
		 * @param	bubbles		
		 * @param	cancelable	
		 */
		public function FriendFeedEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{
			super (type, bubbles, cancelable);			
		}		
	}
}